<%@ page import="drrr.orm.RoomEntity" %>
<%--
  Created by IntelliJ IDEA.
  User: lirance
  Date: 15/5/24
  Time: 上午12:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<% RoomEntity roomEntity = (RoomEntity) session.getAttribute("room");%>
<html>
<head>
    <title>聊天记录</title>
</head>
<body>
<%=roomEntity.getRoomname()%>的聊天记录
<s:iterator var="chatHistory" value="roomChatlists">

    <tr>
        <td><s:property value="#chatHistory.memberEntity.username"/></td>
        <td><s:property value="#chatHistory.time"/>&nbsp;&nbsp;&nbsp;</td>
        <br/>
    </tr>
    <tr>
        <td><s:property value="#chatHistory.content"/>&nbsp;&nbsp;&nbsp;<br/></td>
    </tr>
</s:iterator>

</body>
</html>
